﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Top.aspx.cs" Inherits="HHWeb.SystemManage.Top" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>科技后台管理-头部</title>
    <link href="../Css/background.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1">
<div class="topbox">
   <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
    <tr>
      <td style="height:24px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td style="width:270px; height:24px; background-image:url(../images/main_03.gif)"></td>
        <td style="width:505px; height:24px; background-image:url(../images/main_04.gif)"></td>
        <td style="height:24px">&nbsp;</td>
        <td style="width:21px; height:24px; background-image:url(../images/main_07.gif)"></td>
        </tr>
        </table>
       </td>
      </tr>
   <tr>
   <td style="height:38px"><table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td style="width:270px; height:38px; background-image:url(../images/main_09.gif)"></td>
    <td style="width:350px; height:38px">
      <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
         <tr>
                <td style="width:50px">
                <img id="BT1" name="BT1" src="../images/main_12.gif" title="首页" alt="首页"/>
                 </td>
                <td style="width:50px">
                <img id="BT2" name="BT2" src="../images/main_14.gif" title="后退" alt="后退"/>
                 </td>
                <td style="width:50px">
                <img id="BT3" name="BT3" src="../images/main_16.gif" title="前进" alt="前进"/>
                </td>
                <td style="width: 50px">
                <img id="BT4" name="BT4" src="../images/main_18.gif" title="刷新" alt="刷新"/>
                </td>
                <td style="width: 50px">
                <img id="BT5" name="BT5" src="../images/main_20.gif" title="退出" alt="退出"/>
                </td>
                <td style="width: 19px">
                <img id="BT6" name="BT6" src="../images/main_21.gif"/>
                </td>
                <td>
                <img id="BT7" name="BT7" src="../images/main_22.gif" title="个人资料" alt="个人资料"/>
                </td>
            </tr>
        </table>
    </td>
    <td style="height:38px">&nbsp;</td>
      <td style="width:210px; height:38px"><div id="clock"></div></td>
    <td style="width:21px; height:38px; background-image:url(../images/main_11.gif)"></td>
  </tr>
</table>
</td>
 </tr>
 <tr>
  <td height="8" style=" line-height:8px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="270" style=" line-height:8px; height: 8px;background-image:url(../images/main_29.gif)">&nbsp;</td>
            <td width="505" style=" line-height:8px; height: 8px;background-image:url(../images/main_30.gif)">&nbsp;</td>
            <td style=" line-height:8px; height: 8px;">&nbsp;</td>
            <td width="21" style=" line-height:8px; height: 8px;"><img src="../images/main_31.gif" width="21" height="8" /></td>
          </tr>
        </table>
   </td>
 </tr>
</table>
</div>

<div class="topdown">
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
    <td style="width:177px; height:28px; background-image:url(../images/main_32.gif)"></td>
    <td>
    <span style="padding-left:10px;">[欢迎：<font color="red"><%= UserName%></font>&nbsp;&nbsp;登录]-[角色类型：<%= UserType%>]</span>
    </td>
    <td>&nbsp;</td>
    <td style="width:21px; height:28px; background-image:url(../images/main_37.gif)">&nbsp;</td>
  </tr>
</table>
</div>
<%--引用去区头--%>
<script src="../JS/Time.js" type="text/javascript"></script>
<script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
    function dd(obj) { 
    obj.t
    }
    $(function () {
       //首页
        $("#BT1").click(function () {
            window.top.location.href = "../Index.aspx"
        })
        //后台
        $("#BT2").click(function () {
            window.history.back();
        })
        //前进
        $("#BT3").click(function () {
            window.history.go(1);
        })
        //刷新
        $("#BT4").click(function () {
            window.parent.location.reload();
        })
        //退出
        $("#BT5").click(function () {
            if (confirm("确定退出？")) {
                $("#form1").attr("method", "POST");
                $("#form1").submit();
            }
        })
        //个人资料
        $("#BT7").click(function () {
            self.parent.frames["mainFrame"].frames["middelMainIframe"].location.href = "Right.aspx";
        })
    })
</script>
<%--引用去区尾--%>
</form>
</body>
</html>
